<%-- 
    Document   : addCinema
    Created on : Apr 29, 2011, 10:41:34 PM
    Author     : Kevin
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="headero.html"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Add cinema</title>
        <script type="text/javascript">
            function validate(){
                with(document.form6){
                    if(location.value.length < 1){
                        alert("please input location");
                        location.focus();
                        return false;                        
                    }
                    
                }   
                return true;
            }
                
        
            
        </script>
    </head>
    <body>
        <h1>add a cinema</h1>

        <form name="form6" onsubmit="return validate();" action="AddCinema">
            <table>
                <tr>
                    <td>location of the cinema</td>
                    <td>            <input type="text" name="location"  size="20">
                    </td>
                </tr>
                <tr>
                    
                <tr>
                    <td>amenities" </td>
                    <td>            
                        <input type="checkbox" name="amenities"  size="20" value="1">ATM
                        <input type="checkbox" name="amenities"  size="20" value="2">Snack bar
                        <input type="checkbox" name="amenities"  size="20" value="3">Widescreen
                        <input type="checkbox" name="amenities"  size="20" value="4">Restaurant                        
                    </td>
                </tr>
                <tr>
                    <td> Click "next step" to add<br> showing rooms for this cinema: </td>
                    <td>            
                        <input type="submit" value="Next step"">
                    </td>
                    
                </tr>
                
            </table>
        </form>
    </body>
</html>
 <%@include file="footer.html"%>